home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / doorware / ab2v062.zip / 3RDPARTY.DOC < prev    next >
Text File  |  1996-10-07  |  5KB  |  164 lines

  1. ARROWBRIDGE II USER FILE FORMAT
  2. ===============================
  3.  
  4. (C)opyright 1996 Legend Electronics
  5.  
  6. 7th October, 1996
  7.  
  8. This file contains the user file format for those who are interested in
  9. developing 3rd party programs for Arrowbridge II.
  10.  
  11. User Structure
  12. -------------- 
  13.  
  14. Structure size = 1000 bytes
  15.  
  16. TYPE user
  17.     owner AS STRING * 30    Owner's real name
  18.     Gold AS LONG        Gold carried
  19.     BankGold AS LONG    Gold in bank
  20.     guards AS LONG        Guards carried
  21.     commanders AS LONG    Commanders carried
  22.     bowmen AS LONG        Bowmen carried
  23.     cata AS LONG        not used
  24.     RoyalGuard AS LONG    not used
  25.     xloc AS INTEGER        X location
  26.     yloc AS INTEGER        Y Location
  27.     frigx AS INTEGER    Ship X location
  28.     frigy AS INTEGER    Ship Y location
  29.     dngx AS INTEGER        Dungeon X location
  30.     dngy AS INTEGER        Dungeon Y location
  31.     dnglev AS INTEGER    Dungeon level
  32.     timerem AS INTEGER    Time remaining in minutes
  33.     turnsrem AS INTEGER    Turns remaining
  34.     date AS STRING * 10    Date last played (MM-DD-YYYY)
  35.     status AS INTEGER    0=Wilderness
  36.                 1=Dungeon
  37.                 2=On ship
  38.     courage AS LONG        Courage
  39.     align AS INTEGER    Alignment
  40.     special AS INTEGER    1=sextant
  41.     secure AS INTEGER    Last player number to attack in Inn
  42.     rune AS INTEGER        not used
  43.     missiongiven AS INTEGER    Mission has been given (1=mission1,2=mission2,4=mission3,8=mission4,etc.)
  44.     misscomplete AS INTEGER    Mission has been completed (1=mission1,2=mission2,4=mission3,8=mission4,etc.)
  45.     totalturns AS LONG    Total turns played
  46.     missioncount AS INTEGER    Counter for "search" missions
  47.     joustrep AS INTEGER    Character number (1-4) for Joust representative
  48.     rangerheal AS INTEGER    Character number (1-4) for current ranger heal
  49.     firstfight AS INTEGER    Character number (1-4) for first fighter
  50.     joustwins AS INTEGER    Number of joustwins
  51.     joustlosses AS INTEGER    Number of joustlosses
  52.     jousts AS INTEGER    Number of jousts for the day
  53.     boattype AS INTEGER    0=Frigate,1=Ketch
  54.         bounty as long        Amount of bounty on this character's head
  55.  
  56.     spare3 AS LONG        not used
  57.     spare4 AS LONG        not used
  58.     spare5 AS LONG        not used
  59.     spare6 AS LONG        not used
  60.     spare7 AS LONG        not used
  61.     spare8 AS LONG        not used
  62.     spare9 AS LONG        not used
  63.     spare10 AS LONG        not used
  64.     spare11 AS LONG        not used
  65.     spare12 AS LONG        not used
  66.     spare13 AS LONG        not used
  67.     spare14 AS LONG        not used
  68.     spare15 AS LONG        not used
  69.     spare16 AS LONG        not used
  70.     spare17 AS LONG        not used
  71.     spare18 AS LONG        not used
  72.     spare19 AS LONG        not used
  73.     spare20 AS LONG        not used
  74.  
  75.     name1 AS STRING * 17    First char name
  76.     lv1 AS INTEGER        1st char level (1-16)
  77.     type1 AS INTEGER    1st char type (1=Kn,2=Th,3=Ra,4=Wi,5=Cl,6=Ar)
  78.     hp1 AS INTEGER        1st char hp (>0 alive, <=0 dead)
  79.     status1 AS INTEGER    1st char status (0=ok,1=poison,2=sleep)
  80.     weapon1 AS INTEGER    1st char weapon (as per the item number)
  81.     armour1 AS INTEGER    1st char armor
  82.     shield1 AS INTEGER    1st char shield
  83.     proj1 AS INTEGER    1st char projectile
  84.     sex1 AS INTEGER        1st char sex (0=male,1=female)
  85.     xp1 AS LONG        1st char experience
  86.     mp1 AS INTEGER        1st char magic points
  87.     chspare10 AS LONG    not used
  88.     chspare11 AS LONG    not used
  89.  
  90.     name2 AS STRING * 17    (as for 1st char)
  91.     lv2 AS INTEGER
  92.     type2 AS INTEGER
  93.     hp2 AS INTEGER
  94.     status2 AS INTEGER
  95.     weapon2 AS INTEGER
  96.     armour2 AS INTEGER
  97.     shield2 AS INTEGER
  98.     proj2 AS INTEGER
  99.     sex2 AS INTEGER
  100.     xp2 AS LONG
  101.     mp2 AS INTEGER
  102.     chspare20 AS LONG
  103.     chspare21 AS LONG
  104.     
  105.     name3 AS STRING * 17    (as for 1st char)
  106.     lv3 AS INTEGER
  107.     type3 AS INTEGER
  108.     hp3 AS INTEGER
  109.     status3 AS INTEGER
  110.     weapon3 AS INTEGER
  111.     armour3 AS INTEGER
  112.     shield3 AS INTEGER
  113.     proj3 AS INTEGER
  114.     sex3 AS INTEGER
  115.     xp3 AS LONG
  116.     mp3 AS INTEGER
  117.     chspare30 AS LONG
  118.     chspare31 AS LONG
  119.     
  120.     name4 AS STRING * 17    (as for 1st char)
  121.     lv4 AS INTEGER
  122.     type4 AS INTEGER
  123.     hp4 AS INTEGER
  124.     status4 AS INTEGER
  125.     weapon4 AS INTEGER
  126.     armour4 AS INTEGER
  127.     shield4 AS INTEGER
  128.     proj4 AS INTEGER
  129.     sex4 AS INTEGER
  130.     xp4 AS LONG
  131.     mp4 AS INTEGER
  132.     chspare40 AS LONG
  133.     chspare41 AS LONG
  134.  
  135.     knightl AS INTEGER    NPC Knight Lv        )All these are recorded when a player is dropped from the party
  136.     knightexp AS LONG    NPC Knight Exp        )so that the XP and LV and be retained for when they are later
  137.     thiefl AS INTEGER    NPC Thief Lv        )recruited.
  138.     thiefexp AS LONG    NPC Thief Exp 
  139.     wizardl AS INTEGER    NPC Wizard Lv
  140.     wizardexp AS LONG    NPC Wizard Exp
  141.     rangerl AS INTEGER    NPC Ranger Lv
  142.     rangerexp AS LONG    NPC Ranger Exp
  143.     clericl AS INTEGER    NPC CLeric Lv
  144.     clericexp AS LONG    NPC Cleric Exp
  145.     archerl AS INTEGER    NPC Archer Lv
  146.     archerexp AS LONG    NPC Archer Exp
  147.  
  148.     possess AS STRING * 500    Party possessions: A string of 250 integers (?) - each relating to an item in items.abr file
  149.                 Special item locations 100 = gems, 101 = potions, 102 = torches, 103 = keys
  150. END TYPE
  151.  
  152.  
  153. The Number of Players
  154. ---------------------
  155.  
  156. The number of players can be found by taking the first line of the 
  157. gamedata.abr file.  This will show the number of players in the game.
  158.  
  159.  
  160. Deleting a Player
  161. -----------------
  162.  
  163. To delete a player, set the first character in the name1 string to "#".
  164.